package main

import (
	"fmt"
	"reflect"
	apiModel "westarry/gin-fox/app/api/model"
)

func main() {
	var model apiModel.User
	t := reflect.TypeOf(model)
	fieldsCount := t.NumField()
	for i := 0; i < fieldsCount; i++ {
		fmt.Println(t.Field(i))
	}
}
